home *** CD-ROM | disk | FTP | other *** search
- module oKromoScriptList is cKR_ScriptList
- -----------------------------------------
- with
- Items is [
- -- Kromo Basic Scripts
- oKRBasic_Alert,
- oKRBasic_Beep,
- oKRBasic_CheckElement,
- oKRBasic_CheckIntersecting,
- oKRBasic_CheckRuntime,
- oKRBasic_GetCoordinates,
- oKRBasic_GetRandom,
- oKRBasic_SetCoordinates,
-
- -- Kromo Flipbook Scripts
- oKRFlip_SetCellIndex,
-
- -- Kromo RTF Scripts
- oKRRTF_GetHotText,
- oKRRTF_GetHotTextDownIndex,
-
- -- Kromo String Scripts
- oKRString_BeginsWith,
- oKRString_EndsWith,
- oKRString_Replace
- ];
- end;
-
- object oKRFlip_SetCellIndex is cKR_Script
- has
- Execute()
- use
- aTarget;
- aCellIndex;
- do
- aTarget := self.GetParameter(1);
- aCellIndex := self.GetParameter(2);
-
- aTarget.CellIndex := aCellIndex;
- aTarget.Invalidate();
- end;
- with
- release Editor:
- Name is "Set cell index";
- Identifier is "oKRFlip_SetCellIndex";
- GroupName is "Kromo Flipbook";
- end;
- ParameterNameList is ["Element","Value"];
- ParameterTypeList is [cImage, INTEGER];
- ParameterDefaultList is [oTargetSelf, 1];
- ResultNeeded is false;
- end;
-